import {Hero} from './hero';

// export class HeroMock {
//     heros = [
//         {"id":1,"name":"Justin"},
//         {"id":2,"name":"Chow"},
//         {"id":3,"name":"Jacky"},
//     ];
//     getHeroes() {
//         return this.heros;
//     }
//     getHeroesAsync(): Promise<Hero[]> {
//         return Promise.resolve(this.heros);
//     }
// }

export const HEROES: Hero[] = [
  { id: 11, name: 'Mr. Nice' },
  { id: 12, name: 'Narco' },
  { id: 13, name: 'Bombasto' },
  { id: 14, name: 'Celeritas' },
  { id: 15, name: 'Magneta' },
  { id: 16, name: 'RubberMan' },
  { id: 17, name: 'Dynama' },
  { id: 18, name: 'Dr IQ' },
  { id: 19, name: 'Magma' },
  { id: 20, name: 'Tornado' }
];
